<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/jstl/c" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fn" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="ebb365,ebb365,ebb365">
<meta http-equiv="description" content="ebb365">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/admin/css/css.css"></link>
<script type="text/javascript">
function checkBox(){
    var doc = document.forms[0];
    var elm = doc.elements;
    for(var i=0;i<elm.length;i++){
         var obj = elm[i];
         if(obj.value==''){
            alert('条件不能为空，必须全部填写!');
            return false;
         }    
    }
    return true;
}
</script>
</head>
<body>
<html:form action="/admin/member/broadcast.do" method="post" onsubmit="return checkBox();">
<table align="center">
<tr>
<td>接收会员</td>
<td>
<html:select property="memberType" size="1">
<html:option value="1">普通会员</html:option>
<html:option value="2">银牌会员</html:option>
<html:option value="3">金牌会员</html:option>
</html:select></td></tr>
<tr><td>短信标题</td><td><html:text property="msgTitle" value=""/></td></tr>
<tr><td valign="top">短信内容</td><td valign="top"><html:textarea property="msgContent" value="" cols="40" rows="5"></html:textarea></td></tr>
<tr><td><html:reset>重写</html:reset></td><td><html:submit>提交</html:submit></td></tr>
</table>
</html:form>
</body>
</html>